/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package classe06Heranca.h01;

/**
 *
 * @author Borelli
 */
public class LeaoAcao {
    
    public static void main(String[] args) {
        
        Leao leo = new Leao();
        
        System.out.println(leo.cor);
        System.out.println(leo.numPatas());
        System.out.println(leo.juba);
        
        leo.cacar();
        leo.pular();
                
        //leo.patas = 5;
        
        Felino felino = new Felino();
        
        System.out.println(felino.cor);
        System.out.println(felino.numPatas());
        System.out.println(felino.especie);
        
        felino.cacar();
        felino.pular();
        
    }
    
}
